//
//  TableViewCell.h
//  learn_async
//
//  Created by liboxiang on 2019/2/27.
//  Copyright © 2019 liboxiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CellModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface TableViewCell : UITableViewCell

+ (NSString *)identifier;
+ (CGFloat)cellHeight;
+ (CGFloat)cellHeigtForDic:(NSDictionary *)dic;
+ (void)registerForTable:(UITableView *)tableView;

- (void)refreshWithDic:(NSDictionary *)dic;
- (void)asyncRefreshWithDic:(NSDictionary *)dic;
@end

NS_ASSUME_NONNULL_END
